/*
@author https://yunp.top
 */
@file:JsQualifier("createjs")

package createjs

open external class Event(type: String, bubbles: Boolean = definedExternally, cancelable: Boolean = definedExternally) {
    val bubbles: Boolean
    val cancelable: Boolean
    val currentTarget: dynamic
    val defaultPrevented: Boolean
    val eventPhase: Int
    val immediatePropagationStopped: Boolean
    val propagationStopped: Boolean
    val removed: Boolean
    val target: dynamic
    val timeStamp: Long
    val type: String

    fun clone(): Event
    fun preventDefault()
    fun remove()
    fun stopImmediatePropagation()
    fun stopPropagation()
}